package com.qdlc.p2p.biz.service.user;

import com.qdlc.p2p.common.core.ReturnResult;
import com.qdlc.p2p.dal.model.UserModel;


/**
 * 用户注册
 * @author linya 2016-02-01
 */
public interface UserRegistService {

	/**
	 * 检测注册基本信息
	 * @param userModel
	 * @author linya
	 * @return
	 */
	ReturnResult checkRegisterBaseInfo(UserModel userModel);

	/**
	 * 发送注册验证码
	 * @author linya
	 * @return
	 */
	ReturnResult doSendValidCode(UserModel userModel, String mobilePhone);

	/**
	 * 注册操作
	 * @param userModel
	 * @param isPartner 是否是联合用户
	 * @return
	 * @throws java.lang.Exception 
	 */
	ReturnResult doRegister(UserModel userModel, boolean isPartner) throws Exception;
	

}
